package com.feng.kuang.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Date;


@NoArgsConstructor
@AllArgsConstructor
@Data
@ConfigurationProperties(prefix = "user")
@Component
public class User {
    private Integer id;
    private String name;
    private Date date;
}
